Script: --on windowEvent wdID,wdName,objNo,objName,objValue¬¬if objValue="Open" then¬ wsSet wdID,"version","Text", "Version" && grinderversion()¬ put word 1 of screeninfo() into thecolors¬ if thecolors < 256 then¬ wsSet wdID,1,"Name", "GrinderBW"¬ wsSet wdID,"version","blackcolor","0,0,0"¬ wsSet wdID,"version","whitecolor","-1,-1,-1"¬ else¬ wsSet wdID,1,"Name", "GrinderColor"¬ wsSet wdID,"version","blackcolor","-1,-1,-1"¬ wsSet wdID,"version","whitecolor","13762,13766,25558"¬ end if¬ ¬else if objValue="Close" then ¬ ¬else if objValue="Suspend" then ¬ ¬else if objValue="Resume" then ¬ ¬else if objValue="CloseBox" then ¬ ¬else if objValue="ZoomBox" then ¬ ¬else if objValue="GrowBox" then ¬ ¬else if objValue="TitleBar" then ¬ ¬end if¬¬--end windowEvent¬¬¬